import {
  getGangweiList,
  getspecialtyList
} from '@/api/myapi/common';
export default {
  data() {
    return {
      gangweiList: [],
      specialtyList: [] // 专业
    }
  },
  methods: {
    //  岗位
    getGangweiList() {
      getGangweiList({
        current: 1,
        size: 100000
      }).then(({
        data
      }) => {
        console.log(data);
        if (data && data.success) {
          this.gangweiList = data.data.records;
        }
      });
    },
    //专业
    getspecialtyList() {
      getspecialtyList({
        current: 1,
        size: 100000
      }).then(({
        data
      }) => {
        console.log(data);
        if (data && data.success) {
          this.specialtyList = data.data.records;
        }
      });
    }
  }
}
